package com.ruoyi.users.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户Top歌手对象 personal_top_5_singers
 * 
 * @author lin
 * @date 2025-03-10
 */
public class UsersTopSingers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 歌手ID */
    @Excel(name = "歌手ID")
    private Long artistId;

    /** 歌手名 */
    @Excel(name = "歌手名")
    private String artistName;

    /** 完播率 */
    @Excel(name = "完播率")
    private Float totalPlayratio;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setArtistId(Long artistId) 
    {
        this.artistId = artistId;
    }

    public Long getArtistId() 
    {
        return artistId;
    }
    public void setTotalPlayratio(Float totalPlayratio)
    {
        this.totalPlayratio = totalPlayratio;
    }

    public Float getTotalPlayratio()
    {
        return totalPlayratio;
    }

    public void setArtistName(String artistName)
    {
        this.artistName = artistName;
    }

    public String getArtistName()
    {
        return artistName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("artistId", getArtistId())
            .append("totalPlayratio", getTotalPlayratio())
            .append("artistName", getArtistName())
            .toString();
    }
}
